/// total : 2
/// rows : [{"id":"471979670909759488","orgId":"345577961640873984","userId":"423422640286691328","type":1,"title":"幼儿教师资格证考试1","content":"考试信息内容：水电费还是发生发动机安徽省经费哈数据客服电话卡惊魂甫定金阿奎","path":"","browse":13,"createTime":1637632468000,"deleted":0},{"id":"471979873754689536","orgId":"345577961640873984","userId":"423422640286691328","type":2,"title":"幼儿教师资格证考试2","content":"","path":"https://www.baidu.com","browse":5,"createTime":1637632468000,"deleted":0}]
/// code : 200
/// msg : "查询成功"

class ExamDto {
  ExamDto({
    int? total,
    List<Rows>? rows,
    int? code,
    String? msg,
  }) {
    _total = total;
    _rows = rows;
    _code = code;
    _msg = msg;
  }

  ExamDto.fromJson(dynamic json) {
    _total = json['total'];
    if (json['rows'] != null) {
      _rows = [];
      json['rows'].forEach((v) {
        _rows?.add(Rows.fromJson(v));
      });
    }
    _code = json['code'];
    _msg = json['msg'];
  }
  int? _total;
  List<Rows>? _rows;
  int? _code;
  String? _msg;

  int? get total => _total;
  List<Rows>? get rows => _rows;
  int? get code => _code;
  String? get msg => _msg;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['total'] = _total;
    if (_rows != null) {
      map['rows'] = _rows?.map((v) => v.toJson()).toList();
    }
    map['code'] = _code;
    map['msg'] = _msg;
    return map;
  }
}

/// id : "471979670909759488"
/// orgId : "345577961640873984"
/// userId : "423422640286691328"
/// type : 1
/// title : "幼儿教师资格证考试1"
/// content : "考试信息内容：水电费还是发生发动机安徽省经费哈数据客服电话卡惊魂甫定金阿奎"
/// path : ""
/// browse : 13
/// createTime : 1637632468000
/// deleted : 0

class Rows {
  Rows({
    String? id,
    String? orgId,
    String? userId,
    int? type,
    String? title,
    String? content,
    String? path,
    int? browse,
    int? createTime,
    int? deleted,
  }) {
    _id = id;
    _orgId = orgId;
    _userId = userId;
    _type = type;
    _title = title;
    _content = content;
    _path = path;
    _browse = browse;
    _createTime = createTime;
    _deleted = deleted;
  }

  Rows.fromJson(dynamic json) {
    _id = json['id'];
    _orgId = json['orgId'];
    _userId = json['userId'];
    _type = json['type'];
    _title = json['title'];
    _content = json['content'];
    _path = json['path'];
    _browse = json['browse'];
    _createTime = json['createTime'];
    _deleted = json['deleted'];
  }
  String? _id;
  String? _orgId;
  String? _userId;
  int? _type;
  String? _title;
  String? _content;
  String? _path;
  int? _browse;
  int? _createTime;
  int? _deleted;

  String? get id => _id;
  String? get orgId => _orgId;
  String? get userId => _userId;
  int? get type => _type;
  String? get title => _title;
  String? get content => _content;
  String? get path => _path;
  int? get browse => _browse;
  int? get createTime => _createTime;
  int? get deleted => _deleted;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['orgId'] = _orgId;
    map['userId'] = _userId;
    map['type'] = _type;
    map['title'] = _title;
    map['content'] = _content;
    map['path'] = _path;
    map['browse'] = _browse;
    map['createTime'] = _createTime;
    map['deleted'] = _deleted;
    return map;
  }
}
